﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Visitor.master" AutoEventWireup="true" CodeFile="ChangeCustomerPassword.aspx.cs" Inherits="Visitor_ChangeCustomerPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript">
    function ShowMessage() {
        alert('Change Password Successfully !');
        window.location.href = 'index.aspx';
    }

</script>
    <style type="text/css">

        .style4
        {
            width: 138px;
        }
        .style5
        {
            font-weight: 400;
            font-size: 12px;
            color: #000000;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 20px;
            text-align: justify;
        }
        .style6
        {
            width: 212px;
            font-weight: 400;
            font-size: 12px;
            color: #000000;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 20px;
            text-align: justify;
        }
        .style7
        {
            height: 45px;
            font-weight: 400;
            font-size: 12px;
            color: #000000;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 20px;
            text-align: justify;
        }
        .style8
        {
            width: 142px;
        }
        .style9
        {
            width: 206px;
            font-weight: 400;
            font-size: 12px;
            color: #000000;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 20px;
            text-align: justify;
        }
        .style10
        {
            width: 205px;
            font-weight: 400;
            font-size: 12px;
            color: #000000;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 20px;
            text-align: justify;
        }
        .style11
        {
            width: 204px;
            font-weight: 400;
            font-size: 12px;
            color: #000000;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 20px;
            text-align: justify;
        }
        .style12
        {
            width: 173px;
            font-weight: 400;
            font-size: 12px;
            color: #000000;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 20px;
            text-align: justify;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table align="center" class="style3" width="700">
        <tr>
            <td align="center" class="style3" colspan="4" 
                style="background-image: url('../images/bg_head.png'); height: 30px">
                <asp:Label ID="Label2" runat="server" Font-Bold="True" ForeColor="White" 
                    Text="Change Password"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style5" colspan="4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style8">
                &nbsp;</td>
            <td class="style12">
                <asp:Label ID="Label13" runat="server" Font-Bold="True" 
                    Text="Your Current Password:"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="txtYCPassword" runat="server" Width="160px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                    ControlToValidate="txtYCPassword" 
                    ErrorMessage="Your Current Password can not be blank." Font-Bold="True" 
                    ForeColor="Red" style="font-weight: 700" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style8">
                &nbsp;</td>
            <td class="style12">
                <asp:Label ID="Label14" runat="server" Font-Bold="True" 
                    Text="Your New Password:"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="txtYNPassword" runat="server" Width="160px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                    ControlToValidate="txtYNPassword" 
                    ErrorMessage="Your New Password can not be blank." Font-Bold="True" 
                    ForeColor="Red" style="font-weight: 700" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style8">
            </td>
            <td class="style12">
                <asp:Label ID="Label15" runat="server" Font-Bold="True" 
                    Text="Retype Your New Password:"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="txtRYNPassword" runat="server" Width="160px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                    ControlToValidate="txtRYNPassword" 
                    ErrorMessage="Retype Your New Password can not be blank." Font-Bold="True" 
                    ForeColor="Red" style="font-weight: 700" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtYNPassword" ControlToValidate="txtRYNPassword" 
                    ErrorMessage="Your new password does not match" ForeColor="Red" 
                    SetFocusOnError="True">*</asp:CompareValidator>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td class="style8">
                &nbsp;</td>
            <td class="style5" colspan="2">
                <asp:ValidationSummary ID="vsErro" runat="server" ForeColor="Red" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style8">
            </td>
            <td colspan="2" align="center">
                <asp:ImageButton ID="imgbChange" runat="server" 
                    ImageUrl="~/images/img_bChange.png" onclick="imgbChange_Click" />
                <asp:ImageButton ID="imgbCancel" runat="server" 
                    ImageUrl="~/images/img_bCancel.png" CausesValidation="False" 
                    onclick="imgbCancel_Click" />
            </td>
            <td class="style7">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style8">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

